package com.walle.nio.threadtest;

public class Main {

	public static void process()
	{
		long begin = System.currentTimeMillis() ;
		int num = 5000000 ;
		for( int i=0; i<num; i++ ) { 
			System.err.print( "" );
		}
		
		System.err.println( (System.currentTimeMillis()-begin)+"(ms)");
	}
	
	public static void main(String[] args) {
		
		long begin = System.currentTimeMillis() ;
		
		int taskNum = 10 ;
		for( int i=0; i< taskNum; i++ )
		{
			process() ;
		}
		System.err.println( "result:"+(System.currentTimeMillis()-begin)+"(ms)-threadNum:1");
	}
}
